﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Company_company_con_bottom : System.Web.UI.UserControl
{
    public string company, address;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["p_UserID"] != null)
            {
                int uid = int.Parse(Request.QueryString["p_UserID"]);
                DataTable dt = Class1.ExecSel("select * from wj_User where  wj_ID=" + uid + "");
                company= dt.Rows[0]["wj_CompanyName"].ToString();
                address = dt.Rows[0]["wj_Address"].ToString();
            }
        }
    }
}
